
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>前言 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="android/" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="android/">
            
                <a href="android/">
            
                    
                    Android
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" >
            
                <span>
            
                    
                    框架
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1.1" data-path="android/框架/BlockCanary.html">
            
                <a href="android/框架/BlockCanary.html">
            
                    
                    BlockCanary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.2" data-path="android/框架/fresco.html">
            
                <a href="android/框架/fresco.html">
            
                    
                    Fresco
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.3" data-path="android/框架/Glide源码.html">
            
                <a href="android/框架/Glide源码.html">
            
                    
                    Glide
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.4" data-path="android/框架/LeakCanary原理.html">
            
                <a href="android/框架/LeakCanary原理.html">
            
                    
                    LeakCanary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.1.5" data-path="android/框架/Retrofit源码.html">
            
                <a href="android/框架/Retrofit源码.html">
            
                    
                    Retrofit源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.2" >
            
                <span>
            
                    
                    源码解析
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.2.1" data-path="android/源码/Binder.html">
            
                <a href="android/源码/Binder.html">
            
                    
                    Binder
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.2" data-path="android/源码/Dialog源码.html">
            
                <a href="android/源码/Dialog源码.html">
            
                    
                    Dialog源码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.3" data-path="android/源码/RecycleView缓存机制.html">
            
                <a href="android/源码/RecycleView缓存机制.html">
            
                    
                    RecycleView缓存机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2.4" data-path="android/源码/WMS源码.html">
            
                <a href="android/源码/WMS源码.html">
            
                    
                    WMS源码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.3" >
            
                <span>
            
                    
                    自定义View及效果
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1" data-path="android/自定义View及效果/触摸事件.html">
            
                <a href="android/自定义View及效果/触摸事件.html">
            
                    
                    触摸事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.2" data-path="android/自定义View及效果/自定义ItemDecoration.html">
            
                <a href="android/自定义View及效果/自定义ItemDecoration.html">
            
                    
                    自定义ItemDecoration
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.3" data-path="android/自定义View及效果/ItemTouchHelper使用.html">
            
                <a href="android/自定义View及效果/ItemTouchHelper使用.html">
            
                    
                    ItemTouchHelper
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.4" data-path="android/自定义View及效果/MaterilaDesign布局使用.html">
            
                <a href="android/自定义View及效果/MaterilaDesign布局使用.html">
            
                    
                    MaterilaDesign布局使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.4" >
            
                <span>
            
                    
                    Gradle
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.4.1" data-path="android/Gradle/Gradle编译流程梳理.html">
            
                <a href="android/Gradle/Gradle编译流程梳理.html">
            
                    
                    Gradle编译流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.2" data-path="android/Gradle/Transform使用.html">
            
                <a href="android/Gradle/Transform使用.html">
            
                    
                    Transform使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.5" >
            
                <span>
            
                    
                    kotlin实践
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.5.1" data-path="android/Kotlin/协程使用.html">
            
                <a href="android/Kotlin/协程使用.html">
            
                    
                    协程初步使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="java/">
            
                <a href="java/">
            
                    
                    Java
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="java/多线程同步.html">
            
                <a href="java/多线程同步.html">
            
                    
                    多线程同步
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="java/垃圾回收机制.html">
            
                <a href="java/垃圾回收机制.html">
            
                    
                    垃圾回收机制
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="计算机网络/">
            
                <a href="计算机网络/">
            
                    
                    计算机网络
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="计算机网络/编码加密.html">
            
                <a href="计算机网络/编码加密.html">
            
                    
                    编码加密算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="计算机网络/登陆认证.html">
            
                <a href="计算机网络/登陆认证.html">
            
                    
                    登陆认证流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="计算机网络/http协议.html">
            
                <a href="计算机网络/http协议.html">
            
                    
                    http协议
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="操作系统/">
            
                <a href="操作系统/">
            
                    
                    操作系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    设计模式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="设计模式/单例模式.html">
            
                <a href="设计模式/单例模式.html">
            
                    
                    单例模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="设计模式/建造者模式.html">
            
                <a href="设计模式/建造者模式.html">
            
                    
                    建造者模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >前言</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="&#x6210;&#x4E3A;&#x4E00;&#x4E2A;&#x4F18;&#x79C0;&#x7684;&#x4EBA;">&#x6210;&#x4E3A;&#x4E00;&#x4E2A;&#x4F18;&#x79C0;&#x7684;&#x4EBA;</h2>
<ul>
<li><a href="./">&#x524D;&#x8A00;</a></li>
<li><a href="android/">Android</a><ul>
<li>&#x6846;&#x67B6;<ul>
<li><a href="android/&#x6846;&#x67B6;/BlockCanary.html">BlockCanary</a></li>
<li><a href="android/&#x6846;&#x67B6;/fresco.html">Fresco</a></li>
<li><a href="android/&#x6846;&#x67B6;/Glide&#x6E90;&#x7801;.html">Glide</a></li>
<li><a href="android/&#x6846;&#x67B6;/LeakCanary&#x539F;&#x7406;.html">LeakCanary</a></li>
<li><a href="android/&#x6846;&#x67B6;/Retrofit&#x6E90;&#x7801;.html">Retrofit&#x6E90;&#x7801;</a></li>
<li><a href="android/&#x6846;&#x67B6;/MMKV&#x6E90;&#x7801;&#x89E3;&#x6790;.md">MMKV&#x6E90;&#x7801;</a></li>
</ul>
</li>
<li>&#x6E90;&#x7801;&#x89E3;&#x6790;<ul>
<li><a href="android/&#x6E90;&#x7801;/Binder.html">Binder</a></li>
<li><a href="android/&#x6E90;&#x7801;/Dialog&#x6E90;&#x7801;.html">Dialog&#x6E90;&#x7801;</a></li>
<li><a href="android/&#x6E90;&#x7801;/RecycleView&#x7F13;&#x5B58;&#x673A;&#x5236;.html">RecycleView&#x7F13;&#x5B58;&#x673A;&#x5236;</a></li>
<li><a href="android/&#x6E90;&#x7801;/WMS&#x6E90;&#x7801;.html">WMS&#x6E90;&#x7801;</a></li>
</ul>
</li>
<li>&#x81EA;&#x5B9A;&#x4E49;View&#x53CA;&#x6548;&#x679C;<ul>
<li><a href="android/&#x81EA;&#x5B9A;&#x4E49;View&#x53CA;&#x6548;&#x679C;/&#x89E6;&#x6478;&#x4E8B;&#x4EF6;.html">&#x89E6;&#x6478;&#x4E8B;&#x4EF6;</a></li>
<li><a href="android/&#x81EA;&#x5B9A;&#x4E49;View&#x53CA;&#x6548;&#x679C;/&#x81EA;&#x5B9A;&#x4E49;ItemDecoration.html">&#x81EA;&#x5B9A;&#x4E49;ItemDecoration</a></li>
<li><a href="android/&#x81EA;&#x5B9A;&#x4E49;View&#x53CA;&#x6548;&#x679C;/ItemTouchHelper&#x4F7F;&#x7528;.html">ItemTouchHelper</a></li>
<li><a href="android/&#x81EA;&#x5B9A;&#x4E49;View&#x53CA;&#x6548;&#x679C;/MaterilaDesign&#x5E03;&#x5C40;&#x4F7F;&#x7528;.html">MaterilaDesign&#x5E03;&#x5C40;&#x4F7F;&#x7528;</a></li>
</ul>
</li>
<li>Gradle<ul>
<li><a href="android/Gradle/Gradle&#x7F16;&#x8BD1;&#x6D41;&#x7A0B;&#x68B3;&#x7406;.html">Gradle&#x7F16;&#x8BD1;&#x6D41;&#x7A0B;</a></li>
<li><a href="android/Gradle/Transform&#x4F7F;&#x7528;.html">Transform&#x4F7F;&#x7528;</a></li>
</ul>
</li>
<li>&#x6027;&#x80FD;&#x4F18;&#x5316;<ul>
<li><a href="android/&#x6027;&#x80FD;&#x4F18;&#x5316;/&#x5185;&#x5B58;&#x4F18;&#x5316;.md">&#x5185;&#x5B58;&#x4F18;&#x5316;</a></li>
<li><a href="android/&#x6027;&#x80FD;&#x4F18;&#x5316;/ANR&#x6392;&#x67E5;.md">ANR&#x6392;&#x67E5;</a></li>
<li><a href="android/&#x6027;&#x80FD;&#x4F18;&#x5316;/&#x7F16;&#x8BD1;&#x6027;&#x80FD;&#x4F18;&#x5316;.md">&#x7F16;&#x8BD1;&#x6027;&#x80FD;&#x4F18;&#x5316;</a></li>
</ul>
</li>
<li>&#x5D29;&#x6E83;&#x95EE;&#x9898;<ul>
<li><a href="android/&#x5D29;&#x6E83;&#x95EE;&#x9898;/TimeouTtException.md">TimeoutException</a></li>
</ul>
</li>
<li>kotlin&#x5B9E;&#x8DF5;<ul>
<li><a href="android/Kotlin/&#x534F;&#x7A0B;&#x4F7F;&#x7528;.html">&#x534F;&#x7A0B;&#x521D;&#x6B65;&#x4F7F;&#x7528;</a></li>
</ul>
</li>
</ul>
</li>
<li>Java<ul>
<li><a href="java/&#x591A;&#x7EBF;&#x7A0B;&#x540C;&#x6B65;.html">&#x591A;&#x7EBF;&#x7A0B;&#x540C;&#x6B65;</a></li>
<li><a href="java/&#x5783;&#x573E;&#x56DE;&#x6536;&#x673A;&#x5236;.html">&#x5783;&#x573E;&#x56DE;&#x6536;&#x673A;&#x5236;</a></li>
<li><a href="java/&#x9501;&#x5347;&#x7EA7;.md">&#x9501;&#x5347;&#x7EA7;</a></li>
</ul>
</li>
<li>&#x8BA1;&#x7B97;&#x673A;&#x7F51;&#x7EDC;<ul>
<li><a href="&#x8BA1;&#x7B97;&#x673A;&#x7F51;&#x7EDC;/&#x7F16;&#x7801;&#x52A0;&#x5BC6;.html">&#x7F16;&#x7801;&#x52A0;&#x5BC6;&#x7B97;&#x6CD5;</a></li>
<li><a href="&#x8BA1;&#x7B97;&#x673A;&#x7F51;&#x7EDC;/&#x767B;&#x9646;&#x8BA4;&#x8BC1;.html">&#x767B;&#x9646;&#x8BA4;&#x8BC1;&#x6D41;&#x7A0B;</a></li>
<li><a href="&#x8BA1;&#x7B97;&#x673A;&#x7F51;&#x7EDC;/http&#x534F;&#x8BAE;.html">http&#x534F;&#x8BAE;</a></li>
</ul>
</li>
<li>&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;<ul>
<li><a href="&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;/mmap.md">mmap&#x539F;&#x7406;</a></li>
<li><a href="&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;/&#x751F;&#x4EA7;&#x8005;&#x6D88;&#x8D39;&#x8005;&#x6A21;&#x578B;.md">&#x751F;&#x4EA7;&#x8005;&#x6D88;&#x8D39;&#x8005;&#x6A21;&#x578B;</a></li>
</ul>
</li>
<li>&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;<ul>
<li><a href="&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;/&#x5355;&#x4F8B;&#x6A21;&#x5F0F;.html">&#x5355;&#x4F8B;&#x6A21;&#x5F0F;</a></li>
<li><a href="&#x8BBE;&#x8BA1;&#x6A21;&#x5F0F;/&#x5EFA;&#x9020;&#x8005;&#x6A21;&#x5F0F;.html">&#x5EFA;&#x9020;&#x8005;&#x6A21;&#x5F0F;</a></li>
</ul>
</li>
</ul>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="android/" class="navigation navigation-next navigation-unique" aria-label="Next page: Android">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"前言","level":"1.1","depth":1,"next":{"title":"Android","level":"1.2","depth":1,"path":"android/README.md","ref":"android/README.md","articles":[{"title":"框架","level":"1.2.1","depth":2,"ref":"","articles":[{"title":"BlockCanary","level":"1.2.1.1","depth":3,"path":"android/框架/BlockCanary.md","ref":"android/框架/BlockCanary.md","articles":[]},{"title":"Fresco","level":"1.2.1.2","depth":3,"path":"android/框架/fresco.md","ref":"android/框架/fresco.md","articles":[]},{"title":"Glide","level":"1.2.1.3","depth":3,"path":"android/框架/Glide源码.md","ref":"android/框架/Glide源码.md","articles":[]},{"title":"LeakCanary","level":"1.2.1.4","depth":3,"path":"android/框架/LeakCanary原理.md","ref":"android/框架/LeakCanary原理.md","articles":[]},{"title":"Retrofit源码","level":"1.2.1.5","depth":3,"path":"android/框架/Retrofit源码.md","ref":"android/框架/Retrofit源码.md","articles":[]}]},{"title":"源码解析","level":"1.2.2","depth":2,"ref":"","articles":[{"title":"Binder","level":"1.2.2.1","depth":3,"path":"android/源码/Binder.md","ref":"android/源码/Binder.md","articles":[]},{"title":"Dialog源码","level":"1.2.2.2","depth":3,"path":"android/源码/Dialog源码.md","ref":"android/源码/Dialog源码.md","articles":[]},{"title":"RecycleView缓存机制","level":"1.2.2.3","depth":3,"path":"android/源码/RecycleView缓存机制.md","ref":"android/源码/RecycleView缓存机制.md","articles":[]},{"title":"WMS源码","level":"1.2.2.4","depth":3,"path":"android/源码/WMS源码.md","ref":"android/源码/WMS源码.md","articles":[]}]},{"title":"自定义View及效果","level":"1.2.3","depth":2,"ref":"","articles":[{"title":"触摸事件","level":"1.2.3.1","depth":3,"path":"android/自定义View及效果/触摸事件.md","ref":"android/自定义View及效果/触摸事件.md","articles":[]},{"title":"自定义ItemDecoration","level":"1.2.3.2","depth":3,"path":"android/自定义View及效果/自定义ItemDecoration.md","ref":"android/自定义View及效果/自定义ItemDecoration.md","articles":[]},{"title":"ItemTouchHelper","level":"1.2.3.3","depth":3,"path":"android/自定义View及效果/ItemTouchHelper使用.md","ref":"android/自定义View及效果/ItemTouchHelper使用.md","articles":[]},{"title":"MaterilaDesign布局使用","level":"1.2.3.4","depth":3,"path":"android/自定义View及效果/MaterilaDesign布局使用.md","ref":"android/自定义View及效果/MaterilaDesign布局使用.md","articles":[]}]},{"title":"Gradle","level":"1.2.4","depth":2,"ref":"","articles":[{"title":"Gradle编译流程","level":"1.2.4.1","depth":3,"path":"android/Gradle/Gradle编译流程梳理.md","ref":"android/Gradle/Gradle编译流程梳理.md","articles":[]},{"title":"Transform使用","level":"1.2.4.2","depth":3,"path":"android/Gradle/Transform使用.md","ref":"android/Gradle/Transform使用.md","articles":[]}]},{"title":"kotlin实践","level":"1.2.5","depth":2,"ref":"","articles":[{"title":"协程初步使用","level":"1.2.5.1","depth":3,"path":"android/Kotlin/协程使用.md","ref":"android/Kotlin/协程使用.md","articles":[]}]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2021-03-13T16:07:28.841Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2021-03-13T16:08:39.790Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

